home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / gnu / uucp-104.lha / uucp-1.04 / cu.h < prev    next >
C/C++ Source or Header  |  1993-02-13  |  3KB  |  81 lines

  1. /* cu.h
  2.    Header file for cu.
  3.  
  4.    Copyright (C) 1992 Ian Lance Taylor
  5.  
  6.    This file is part of the Taylor UUCP package.
  7.  
  8.    This program is free software; you can redistribute it and/or
  9.    modify it under the terms of the GNU General Public License as
  10.    published by the Free Software Foundation; either version 2 of the
  11.    License, or (at your option) any later version.
  12.  
  13.    This program is distributed in the hope that it will be useful, but
  14.    WITHOUT ANY WARRANTY; without even the implied warranty of
  15.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  16.    General Public License for more details.
  17.  
  18.    You should have received a copy of the GNU General Public License
  19.    along with this program; if not, write to the Free Software
  20.    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  21.  
  22.    The author of the program may be contacted at ian@airs.com or
  23.    c/o Infinity Development Systems, P.O. Box 520, Waltham, MA 02254.
  24.    */
  25.  
  26. /* The user settable variables supported by cu.  */
  27.  
  28. /* The escape character used to introduce a special command.  The
  29.    escape character is the first character of this string.  */
  30. extern const char *zCuvar_escape;
  31.  
  32. /* Whether to delay for a second before printing the host name after
  33.    seeing an escape character.  */
  34. extern boolean fCuvar_delay;
  35.  
  36. /* The input characters which finish a line.  The escape character is
  37.    only recognized following one of these characters.  */
  38. extern const char *zCuvar_eol;
  39.  
  40. /* Whether to transfer binary data (nonprintable characters other than
  41.    newline and tab) when sending a file.  If this is FALSE, then
  42.    newline is changed to carriage return.  */
  43. extern boolean fCuvar_binary;
  44.  
  45. /* A prefix string to use before sending a binary character from a
  46.    file; this is only used if fCuvar_binary is TRUE.  */
  47. extern const char *zCuvar_binary_prefix;
  48.  
  49. /* Whether to check for echoes of characters sent when sending a file.
  50.    This is ignored if fCuvar_binary is TRUE.  */
  51. extern boolean fCuvar_echocheck;
  52.  
  53. /* A character to look for after each newline is sent when sending a
  54.    file.  The character is the first character in this string, except
  55.    that a '\0' means that no echo check is done.  */
  56. extern const char *zCuvar_echonl;
  57.  
  58. /* The timeout to use when looking for an character.  */
  59. extern int cCuvar_timeout;
  60.  
  61. /* The character to use to kill a line if an echo check fails.  The
  62.    first character in this string is sent.  */
  63. extern const char *zCuvar_kill;
  64.  
  65. /* The number of times to try resending a line if the echo check keeps
  66.    failing.  */
  67. extern int cCuvar_resend;
  68.  
  69. /* The string to send at the end of a file sent with ~>.  */
  70. extern const char *zCuvar_eofwrite;
  71.  
  72. /* The string to look for to finish a file received with ~<.  For tip
  73.    this is a collection of single characters, but I don't want to do
  74.    that because it means that there are characters which cannot be
  75.    received.  */
  76. extern const char *zCuvar_eofread;
  77.  
  78. /* Whether to provide verbose information when sending or receiving a
  79.    file.  */
  80. extern boolean fCuvar_verbose;
  81.